package com.matt.domain;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "tb_nurse_video")
@EqualsAndHashCode(callSuper = true)
public class NurseVideo extends Domain{

    @Column(columnDefinition = "varchar(255) COMMENT '列表小图片地址'")
    private String imgUrl;


    @Column(columnDefinition = "varchar(255) COMMENT '视频图片地址'")
    private String videoImg;

    @Column(columnDefinition = "varchar(500) COMMENT '视频地址'")
    private String videoUrl;


    @Column(columnDefinition = "varchar(50) COMMENT '标题' ")
    private String title;

    @Column(columnDefinition = "longtext COMMENT '视频介绍'")
    private String info;

    @Column(columnDefinition = "int COMMENT '视频类型，目前冗余'")
    private Integer type;

    

}
